<template>
  <div class="">
    <div
      id="richText"
      v-html="floors.content"
      :style="{ background: floors.background }"
    >
      {{ floors.content }}
    </div>
  </div>
</template>

<script>
export default {
  props: {
    floors: Object
  },
};
</script>
<style scoped>
#richTex {
  width: 100%;
}

#richText >>> img {
  max-width: 100% !important;
  height: auto !important;
}
#richText >>> a {
  display: block;
  width: 100%;
  height: 100%;
}
</style>
